// import com.alibaba.druid.sql.ast.SQLExpr;
// import com.alibaba.druid.sql.dialect.mysql.visitor.MySqlASTVisitor;

#include "MySqlShowJobStatusStatement.h"
#include "../../../../ast/SQLExpr.h"
#include "../../visitor/MySqlASTVisitor.h"

MySqlShowJobStatusStatement::MySqlShowJobStatusStatement()
{
}

BOOL_ptr MySqlShowJobStatusStatement::isSync()
{
  return sync;
}

void MySqlShowJobStatusStatement::setSync(BOOL_ptr sync)
{
  this->sync = sync;
}

SQLExpr_ptr MySqlShowJobStatusStatement::getWhere()
{
  return where;
}

void MySqlShowJobStatusStatement::setWhere(SQLExpr_ptr where)
{
  this->where = where;
}

void MySqlShowJobStatusStatement::accept0(MySqlASTVisitor_ptr visitor)
{
  if (visitor->visit(SharedObject(MySqlShowJobStatusStatement)))
  {
    acceptChild(visitor, where);
  }
  visitor->endVisit(SharedObject(MySqlShowJobStatusStatement));
}
